package com.hjms.platformback;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 何杨谊
 * @description: TODO
 * @date 2023/1/2 17:12
 */
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {
        "com.hjms.account.share",
        "com.hjms.mall.share",
        "com.hjms.tenant.share"})
@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class,
        DataSourceTransactionManagerAutoConfiguration.class,
        DruidDataSourceAutoConfigure.class ,
        HibernateJpaAutoConfiguration.class})
public class PlatFormBackApplication {
    public static void main(String[]args){
        SpringApplication.run(PlatFormBackApplication.class,args);
    }
}
